-
Notifications
You must be signed in to change notification settings - Fork 0
Feature About Us #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature About Us #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements the "About Us" feature by enabling and integrating the About Us page in the application. It updates navigation menus, routes, view components, seeders, and related models and controllers to support the new feature.
- Enabled the About Us route and integrated it into navigation and footer.
- Updated view templates to display contact and collaboration information on the About Us page.
- Adjusted seeder namespaces and added new seeders to populate content for the feature.
Reviewed Changes
Copilot reviewed 36 out of 37 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| todo.md | Cleaned up task list related to feature planning |
| tests/Pest.php | Updated seeder namespace reference for testing |
| routes/web.php | Enabled About Us route |
| resources/views/layouts/_partials/_navigation_mobile.blade.php | Uncommented About Us navigation link for mobile |
| resources/views/layouts/_partials/_navigation_desktop.blade.php | Uncommented About Us navigation link for desktop |
| resources/views/layouts/_partials/_footer.blade.php | Added About Us link to footer |
| resources/views/app/about-us/index.blade.php | Revamped About Us page layout and contact sections |
| database/seeders/Paperflakes/* | Updated seeder namespaces and added About Us page seeding |
| app/Http/Controllers/AboutUs/AboutUsIndexController.php | Injected contacts data into the About Us page |
| app/Actions/ViewDataAction.php | Added contacts method to load and cache contact information |
| Others | Various new components, models, and migrations to support the feature |
Comments suppressed due to low confidence (1)
app/Actions/ViewDataAction.php:39
- The Cache facade is used here without an explicit import. Please add 'use Illuminate\Support\Facades\Cache;' at the top of the file to avoid potential runtime errors.
return Cache::rememberForever($key, function () use ($locale) {
| </x-list-grid> | ||
| @endif | ||
|
|
||
| @if(!empty($contacts->employee_services) && $contacts->employee_services->count()) |
Copilot
AI
Jun 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The condition for the Products section is checking 'employee_services' instead of 'employee_products'. Please update the condition to check '$contacts->employee_products' to ensure the correct data is rendered.
| @if(!empty($contacts->employee_services) && $contacts->employee_services->count()) | |
| @if(!empty($contacts->employee_products) && $contacts->employee_products->count()) |
No description provided.